﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AL100.BankApplication.BLL
{
    /// <summary>
    /// Exception thrown when a negative deposit 
    /// is attempted.
    /// </summary>
    public class NegativeDepositException : ApplicationException
    {
        /// <summary>
        /// Initializes a new instance of 
        /// the <see cref="NegativeDepositException"/> class.
        /// </summary>
        public NegativeDepositException()
        {}

        /// <summary>
        /// Initializes a new instance of 
        /// the <see cref="NegativeDepositException"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        public NegativeDepositException(string message) 
            : base(message)
        {}

        /// <summary>
        /// Initializes a new instance of the <see cref="NegativeDepositException"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        /// <param name="innerException">The inner exception.</param>
        public NegativeDepositException(string message, Exception innerException)
            : base(message, innerException)
        { }


    }
}
